<html>
<meta charset="UTF-8">

<form action="register" method="post">
    账号：<input type="text" name="name"/> <br>
    密码：<input type="password" name="password"/> <br>
    爱好：<br>
         编程<input type="checkbox" name="hobbies" value="coding"/> <br>
         打篮球<input type="checkbox" name="hobbies" value="basketball"/> <br>
         女朋友<input type="checkbox" name="hobbies" value="girlfriend"> <br>
    <input type="submit" value="注册"/>
</form>
</html>